package client;

import static debug.Debug.DBUG;

public class AlfaEventListener implements AlfaHandeler {

	@Override
	public void alfaUpdate(String[] s) {
		if (s[2].equals("talk")) {
			StringBuilder str = new StringBuilder();
			for (int i=2; i<s.length; i++) {
				str.append(s[i] +" ");
			}
			DBUG("talk: id "+ s[1] +": "+ str.toString());
		}
	}

}
